$(document).ready( function() {
	var timer;	//timer for splash screen
	//calling jPreLoader
	$('body').jpreLoader({
		splashID: "#jSplash",
		loaderVPos: '70%',
		autoClose: true,
		splashFunction: function() {  
			//passing Splash Screen script to jPreLoader
			$('#jSplash').hide().fadeIn(50);
			
			timer = setInterval(function() {
			//	splashRotator();
			}, 6000);
		}
	}, function() {	//callback function
		clearInterval(timer);
	});
});